.class Lde/dealdoktor/app/activities/PostListing$GetPostsTask$2;
.super Ljava/lang/Object;
.source "PostListing.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lde/dealdoktor/app/activities/PostListing$GetPostsTask;->doInBackground([Ljava/lang/String;)Ljava/lang/Boolean;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lde/dealdoktor/app/activities/PostListing$GetPostsTask;


# direct methods
.method constructor <init>(Lde/dealdoktor/app/activities/PostListing$GetPostsTask;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lde/dealdoktor/app/activities/PostListing$GetPostsTask$2;->this$1:Lde/dealdoktor/app/activities/PostListing$GetPostsTask;

    .line 160
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 2

    .prologue
    .line 163
    :try_start_0
    new-instance v1, Lde/dealdoktor/app/data/DataModel;

    invoke-direct {v1}, Lde/dealdoktor/app/data/DataModel;-><init>()V

    invoke-static {}, Lde/dealdoktor/app/activities/PostListing$GetPostsTask;->access$2()Ljava/lang/ref/WeakReference;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/content/Context;

    invoke-virtual {v1, v0}, Lde/dealdoktor/app/data/DataModel;->getCategories(Landroid/content/Context;)Ljava/util/ArrayList;

    move-result-object v0

    sput-object v0, Lde/dealdoktor/app/App;->categories:Ljava/util/ArrayList;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 167
    :goto_0
    return-void

    .line 164
    :catch_0
    move-exception v0

    goto :goto_0
.end method
